↳ Prolog
↳ PrologToPiTRSProof
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_gggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
delete_in_aga(X, .(X, Y), Y) → delete_out_aga(X, .(X, Y), Y)
delete_in_aga(X, .(H, T1), .(H, T2)) → U7_aga(X, H, T1, T2, delete_in_aga(X, T1, T2))
U7_aga(X, H, T1, T2, delete_out_aga(X, T1, T2)) → delete_out_aga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
reach_in_aggg(X, Y, Edges, Not_Visited) → U1_aggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U1_aggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_aggg(X, Y, Edges, Not_Visited)
reach_in_aggg(X, Z, Edges, Not_Visited) → U2_aggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_aggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_aggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U3_aggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_aggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U4_aggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_aggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U5_aggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_aggg(X, Z, Edges, Not_Visited)
U5_gggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_gggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
delete_in_aga(X, .(X, Y), Y) → delete_out_aga(X, .(X, Y), Y)
delete_in_aga(X, .(H, T1), .(H, T2)) → U7_aga(X, H, T1, T2, delete_in_aga(X, T1, T2))
U7_aga(X, H, T1, T2, delete_out_aga(X, T1, T2)) → delete_out_aga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
reach_in_aggg(X, Y, Edges, Not_Visited) → U1_aggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U1_aggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_aggg(X, Y, Edges, Not_Visited)
reach_in_aggg(X, Z, Edges, Not_Visited) → U2_aggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_aggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_aggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U3_aggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_aggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U4_aggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_aggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U5_aggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_aggg(X, Z, Edges, Not_Visited)
U5_gggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
REACH_IN_GGGG(X, Y, Edges, Not_Visited) → U1_GGGG(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
REACH_IN_GGGG(X, Y, Edges, Not_Visited) → MEMBER_IN_GG(.(X, .(Y, [])), Edges)
MEMBER_IN_GG(X, .(H, L)) → U6_GG(X, H, L, member_in_gg(X, L))
MEMBER_IN_GG(X, .(H, L)) → MEMBER_IN_GG(X, L)
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → U2_GGGG(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → MEMBER_IN_GG(.(X, .(Y, [])), Edges)
U2_GGGG(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_GGGG(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U2_GGGG(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → MEMBER_IN_AG(Y, Not_Visited)
MEMBER_IN_AG(X, .(H, L)) → U6_AG(X, H, L, member_in_ag(X, L))
MEMBER_IN_AG(X, .(H, L)) → MEMBER_IN_AG(X, L)
U3_GGGG(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U3_GGGG(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → DELETE_IN_AGA(Y, Not_Visited, V1)
DELETE_IN_AGA(X, .(H, T1), .(H, T2)) → U7_AGA(X, H, T1, T2, delete_in_aga(X, T1, T2))
DELETE_IN_AGA(X, .(H, T1), .(H, T2)) → DELETE_IN_AGA(X, T1, T2)
U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_GGGG(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → REACH_IN_AGGG(Y, Z, Edges, V1)
REACH_IN_AGGG(X, Y, Edges, Not_Visited) → U1_AGGG(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
REACH_IN_AGGG(X, Y, Edges, Not_Visited) → MEMBER_IN_GG(.(X, .(Y, [])), Edges)
REACH_IN_AGGG(X, Z, Edges, Not_Visited) → U2_AGGG(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
REACH_IN_AGGG(X, Z, Edges, Not_Visited) → MEMBER_IN_GG(.(X, .(Y, [])), Edges)
U2_AGGG(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_AGGG(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U2_AGGG(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → MEMBER_IN_AG(Y, Not_Visited)
U3_AGGG(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_AGGG(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U3_AGGG(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → DELETE_IN_AGA(Y, Not_Visited, V1)
U4_AGGG(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_AGGG(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U4_AGGG(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → REACH_IN_AGGG(Y, Z, Edges, V1)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_gggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
delete_in_aga(X, .(X, Y), Y) → delete_out_aga(X, .(X, Y), Y)
delete_in_aga(X, .(H, T1), .(H, T2)) → U7_aga(X, H, T1, T2, delete_in_aga(X, T1, T2))
U7_aga(X, H, T1, T2, delete_out_aga(X, T1, T2)) → delete_out_aga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
reach_in_aggg(X, Y, Edges, Not_Visited) → U1_aggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U1_aggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_aggg(X, Y, Edges, Not_Visited)
reach_in_aggg(X, Z, Edges, Not_Visited) → U2_aggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_aggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_aggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U3_aggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_aggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U4_aggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_aggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U5_aggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_aggg(X, Z, Edges, Not_Visited)
U5_gggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
REACH_IN_GGGG(X, Y, Edges, Not_Visited) → U1_GGGG(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
REACH_IN_GGGG(X, Y, Edges, Not_Visited) → MEMBER_IN_GG(.(X, .(Y, [])), Edges)
MEMBER_IN_GG(X, .(H, L)) → U6_GG(X, H, L, member_in_gg(X, L))
MEMBER_IN_GG(X, .(H, L)) → MEMBER_IN_GG(X, L)
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → U2_GGGG(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
REACH_IN_GGGG(X, Z, Edges, Not_Visited) → MEMBER_IN_GG(.(X, .(Y, [])), Edges)
U2_GGGG(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_GGGG(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U2_GGGG(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → MEMBER_IN_AG(Y, Not_Visited)
MEMBER_IN_AG(X, .(H, L)) → U6_AG(X, H, L, member_in_ag(X, L))
MEMBER_IN_AG(X, .(H, L)) → MEMBER_IN_AG(X, L)
U3_GGGG(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U3_GGGG(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → DELETE_IN_AGA(Y, Not_Visited, V1)
DELETE_IN_AGA(X, .(H, T1), .(H, T2)) → U7_AGA(X, H, T1, T2, delete_in_aga(X, T1, T2))
DELETE_IN_AGA(X, .(H, T1), .(H, T2)) → DELETE_IN_AGA(X, T1, T2)
U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_GGGG(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U4_GGGG(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → REACH_IN_AGGG(Y, Z, Edges, V1)
REACH_IN_AGGG(X, Y, Edges, Not_Visited) → U1_AGGG(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
REACH_IN_AGGG(X, Y, Edges, Not_Visited) → MEMBER_IN_GG(.(X, .(Y, [])), Edges)
REACH_IN_AGGG(X, Z, Edges, Not_Visited) → U2_AGGG(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
REACH_IN_AGGG(X, Z, Edges, Not_Visited) → MEMBER_IN_GG(.(X, .(Y, [])), Edges)
U2_AGGG(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_AGGG(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U2_AGGG(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → MEMBER_IN_AG(Y, Not_Visited)
U3_AGGG(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_AGGG(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U3_AGGG(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → DELETE_IN_AGA(Y, Not_Visited, V1)
U4_AGGG(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_AGGG(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U4_AGGG(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → REACH_IN_AGGG(Y, Z, Edges, V1)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_gggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
delete_in_aga(X, .(X, Y), Y) → delete_out_aga(X, .(X, Y), Y)
delete_in_aga(X, .(H, T1), .(H, T2)) → U7_aga(X, H, T1, T2, delete_in_aga(X, T1, T2))
U7_aga(X, H, T1, T2, delete_out_aga(X, T1, T2)) → delete_out_aga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
reach_in_aggg(X, Y, Edges, Not_Visited) → U1_aggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U1_aggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_aggg(X, Y, Edges, Not_Visited)
reach_in_aggg(X, Z, Edges, Not_Visited) → U2_aggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_aggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_aggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U3_aggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_aggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U4_aggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_aggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U5_aggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_aggg(X, Z, Edges, Not_Visited)
U5_gggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
DELETE_IN_AGA(X, .(H, T1), .(H, T2)) → DELETE_IN_AGA(X, T1, T2)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_gggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
delete_in_aga(X, .(X, Y), Y) → delete_out_aga(X, .(X, Y), Y)
delete_in_aga(X, .(H, T1), .(H, T2)) → U7_aga(X, H, T1, T2, delete_in_aga(X, T1, T2))
U7_aga(X, H, T1, T2, delete_out_aga(X, T1, T2)) → delete_out_aga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
reach_in_aggg(X, Y, Edges, Not_Visited) → U1_aggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U1_aggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_aggg(X, Y, Edges, Not_Visited)
reach_in_aggg(X, Z, Edges, Not_Visited) → U2_aggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_aggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_aggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U3_aggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_aggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U4_aggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_aggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U5_aggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_aggg(X, Z, Edges, Not_Visited)
U5_gggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
DELETE_IN_AGA(X, .(H, T1), .(H, T2)) → DELETE_IN_AGA(X, T1, T2)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
DELETE_IN_AGA(.(T1)) → DELETE_IN_AGA(T1)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
MEMBER_IN_AG(X, .(H, L)) → MEMBER_IN_AG(X, L)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_gggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
delete_in_aga(X, .(X, Y), Y) → delete_out_aga(X, .(X, Y), Y)
delete_in_aga(X, .(H, T1), .(H, T2)) → U7_aga(X, H, T1, T2, delete_in_aga(X, T1, T2))
U7_aga(X, H, T1, T2, delete_out_aga(X, T1, T2)) → delete_out_aga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
reach_in_aggg(X, Y, Edges, Not_Visited) → U1_aggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U1_aggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_aggg(X, Y, Edges, Not_Visited)
reach_in_aggg(X, Z, Edges, Not_Visited) → U2_aggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_aggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_aggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U3_aggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_aggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U4_aggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_aggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U5_aggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_aggg(X, Z, Edges, Not_Visited)
U5_gggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
MEMBER_IN_AG(X, .(H, L)) → MEMBER_IN_AG(X, L)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
MEMBER_IN_AG(.(L)) → MEMBER_IN_AG(L)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
MEMBER_IN_GG(X, .(H, L)) → MEMBER_IN_GG(X, L)
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_gggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
delete_in_aga(X, .(X, Y), Y) → delete_out_aga(X, .(X, Y), Y)
delete_in_aga(X, .(H, T1), .(H, T2)) → U7_aga(X, H, T1, T2, delete_in_aga(X, T1, T2))
U7_aga(X, H, T1, T2, delete_out_aga(X, T1, T2)) → delete_out_aga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
reach_in_aggg(X, Y, Edges, Not_Visited) → U1_aggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U1_aggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_aggg(X, Y, Edges, Not_Visited)
reach_in_aggg(X, Z, Edges, Not_Visited) → U2_aggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_aggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_aggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U3_aggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_aggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U4_aggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_aggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U5_aggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_aggg(X, Z, Edges, Not_Visited)
U5_gggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
MEMBER_IN_GG(X, .(H, L)) → MEMBER_IN_GG(X, L)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
MEMBER_IN_GG(X, .(L)) → MEMBER_IN_GG(X, L)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
U3_AGGG(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_AGGG(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U4_AGGG(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → REACH_IN_AGGG(Y, Z, Edges, V1)
REACH_IN_AGGG(X, Z, Edges, Not_Visited) → U2_AGGG(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_AGGG(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_AGGG(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
reach_in_gggg(X, Y, Edges, Not_Visited) → U1_gggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U1_gggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_gggg(X, Y, Edges, Not_Visited)
reach_in_gggg(X, Z, Edges, Not_Visited) → U2_gggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_gggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_gggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
U3_gggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_gggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
delete_in_aga(X, .(X, Y), Y) → delete_out_aga(X, .(X, Y), Y)
delete_in_aga(X, .(H, T1), .(H, T2)) → U7_aga(X, H, T1, T2, delete_in_aga(X, T1, T2))
U7_aga(X, H, T1, T2, delete_out_aga(X, T1, T2)) → delete_out_aga(X, .(H, T1), .(H, T2))
U4_gggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_gggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
reach_in_aggg(X, Y, Edges, Not_Visited) → U1_aggg(X, Y, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U1_aggg(X, Y, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → reach_out_aggg(X, Y, Edges, Not_Visited)
reach_in_aggg(X, Z, Edges, Not_Visited) → U2_aggg(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_aggg(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_aggg(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
U3_aggg(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_aggg(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U4_aggg(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → U5_aggg(X, Z, Edges, Not_Visited, reach_in_aggg(Y, Z, Edges, V1))
U5_aggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_aggg(X, Z, Edges, Not_Visited)
U5_gggg(X, Z, Edges, Not_Visited, reach_out_aggg(Y, Z, Edges, V1)) → reach_out_gggg(X, Z, Edges, Not_Visited)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
U3_AGGG(X, Z, Edges, Not_Visited, Y, member_out_ag(Y, Not_Visited)) → U4_AGGG(X, Z, Edges, Not_Visited, Y, delete_in_aga(Y, Not_Visited, V1))
U4_AGGG(X, Z, Edges, Not_Visited, Y, delete_out_aga(Y, Not_Visited, V1)) → REACH_IN_AGGG(Y, Z, Edges, V1)
REACH_IN_AGGG(X, Z, Edges, Not_Visited) → U2_AGGG(X, Z, Edges, Not_Visited, member_in_gg(.(X, .(Y, [])), Edges))
U2_AGGG(X, Z, Edges, Not_Visited, member_out_gg(.(X, .(Y, [])), Edges)) → U3_AGGG(X, Z, Edges, Not_Visited, Y, member_in_ag(Y, Not_Visited))
delete_in_aga(X, .(X, Y), Y) → delete_out_aga(X, .(X, Y), Y)
delete_in_aga(X, .(H, T1), .(H, T2)) → U7_aga(X, H, T1, T2, delete_in_aga(X, T1, T2))
member_in_gg(H, .(H, L)) → member_out_gg(H, .(H, L))
member_in_gg(X, .(H, L)) → U6_gg(X, H, L, member_in_gg(X, L))
member_in_ag(H, .(H, L)) → member_out_ag(H, .(H, L))
member_in_ag(X, .(H, L)) → U6_ag(X, H, L, member_in_ag(X, L))
U7_aga(X, H, T1, T2, delete_out_aga(X, T1, T2)) → delete_out_aga(X, .(H, T1), .(H, T2))
U6_gg(X, H, L, member_out_gg(X, L)) → member_out_gg(X, .(H, L))
U6_ag(X, H, L, member_out_ag(X, L)) → member_out_ag(X, .(H, L))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
REACH_IN_AGGG(Z, Edges, Not_Visited) → U2_AGGG(Z, Edges, Not_Visited, member_in_gg(.(.([])), Edges))
U2_AGGG(Z, Edges, Not_Visited, member_out_gg) → U3_AGGG(Z, Edges, Not_Visited, member_in_ag(Not_Visited))
U4_AGGG(Z, Edges, delete_out_aga(V1)) → REACH_IN_AGGG(Z, Edges, V1)
U3_AGGG(Z, Edges, Not_Visited, member_out_ag) → U4_AGGG(Z, Edges, delete_in_aga(Not_Visited))
delete_in_aga(.(Y)) → delete_out_aga(Y)
delete_in_aga(.(T1)) → U7_aga(delete_in_aga(T1))
member_in_gg(H, .(L)) → member_out_gg
member_in_gg(X, .(L)) → U6_gg(member_in_gg(X, L))
member_in_ag(.(L)) → member_out_ag
member_in_ag(.(L)) → U6_ag(member_in_ag(L))
U7_aga(delete_out_aga(T2)) → delete_out_aga(.(T2))
U6_gg(member_out_gg) → member_out_gg
U6_ag(member_out_ag) → member_out_ag
delete_in_aga(x0)
member_in_gg(x0, x1)
member_in_ag(x0)
U7_aga(x0)
U6_gg(x0)
U6_ag(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U4_AGGG(Z, Edges, delete_out_aga(V1)) → REACH_IN_AGGG(Z, Edges, V1)
Used ordering: Polynomial interpretation [25]:
REACH_IN_AGGG(Z, Edges, Not_Visited) → U2_AGGG(Z, Edges, Not_Visited, member_in_gg(.(.([])), Edges))
U2_AGGG(Z, Edges, Not_Visited, member_out_gg) → U3_AGGG(Z, Edges, Not_Visited, member_in_ag(Not_Visited))
U3_AGGG(Z, Edges, Not_Visited, member_out_ag) → U4_AGGG(Z, Edges, delete_in_aga(Not_Visited))
POL(.(x1)) = 1 + x1
POL(REACH_IN_AGGG(x1, x2, x3)) = x3
POL(U2_AGGG(x1, x2, x3, x4)) = x3
POL(U3_AGGG(x1, x2, x3, x4)) = x3
POL(U4_AGGG(x1, x2, x3)) = x3
POL(U6_ag(x1)) = 0
POL(U6_gg(x1)) = 0
POL(U7_aga(x1)) = 1 + x1
POL([]) = 0
POL(delete_in_aga(x1)) = x1
POL(delete_out_aga(x1)) = 1 + x1
POL(member_in_ag(x1)) = 0
POL(member_in_gg(x1, x2)) = x2
POL(member_out_ag) = 0
POL(member_out_gg) = 0
delete_in_aga(.(T1)) → U7_aga(delete_in_aga(T1))
delete_in_aga(.(Y)) → delete_out_aga(Y)
U7_aga(delete_out_aga(T2)) → delete_out_aga(.(T2))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
REACH_IN_AGGG(Z, Edges, Not_Visited) → U2_AGGG(Z, Edges, Not_Visited, member_in_gg(.(.([])), Edges))
U2_AGGG(Z, Edges, Not_Visited, member_out_gg) → U3_AGGG(Z, Edges, Not_Visited, member_in_ag(Not_Visited))
U3_AGGG(Z, Edges, Not_Visited, member_out_ag) → U4_AGGG(Z, Edges, delete_in_aga(Not_Visited))
delete_in_aga(.(Y)) → delete_out_aga(Y)
delete_in_aga(.(T1)) → U7_aga(delete_in_aga(T1))
member_in_gg(H, .(L)) → member_out_gg
member_in_gg(X, .(L)) → U6_gg(member_in_gg(X, L))
member_in_ag(.(L)) → member_out_ag
member_in_ag(.(L)) → U6_ag(member_in_ag(L))
U7_aga(delete_out_aga(T2)) → delete_out_aga(.(T2))
U6_gg(member_out_gg) → member_out_gg
U6_ag(member_out_ag) → member_out_ag
delete_in_aga(x0)
member_in_gg(x0, x1)
member_in_ag(x0)
U7_aga(x0)
U6_gg(x0)
U6_ag(x0)